package com.o2o.model.trade;

import java.util.Date;

import org.springframework.stereotype.Component;

import com.o2o.base.BaseModel;

@Component
public class TradeOrder extends BaseModel{

	/**
	 * 订单类
	 */
	private static final long serialVersionUID = -4828829786731467720L;
	
	private long id;
	
	private long addressId;//地址id
	
	private long userId;//用户id
	
	private Date orderTime;//订单状态
	
	private String orderDescription;//订单说明
	
	private String orderReceiveName;//订单联系人
	
	private int status;//订单状态
	
	private float totalPrice;//订单总价
	
	
	
	

	public float getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getAddressId() {
		return addressId;
	}

	public void setAddressId(long addressId) {
		this.addressId = addressId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getOrderDescription() {
		return orderDescription;
	}

	public void setOrderDescription(String orderDescription) {
		this.orderDescription = orderDescription;
	}

	public String getOrderReceiveName() {
		return orderReceiveName;
	}

	public void setOrderReceiveName(String orderReceiveName) {
		this.orderReceiveName = orderReceiveName;
	}
	
	

}
